using UnityEngine;
using System.Collections;

public class SpellIdentifier : MonoBehaviour {

	private Spells spell;
	private OnMouseClicSpellIdentifierDelegate onMouseClicMethod;
	
	public void InitSpellIdentifier(Spells s, OnMouseClicSpellIdentifierDelegate fctClic)
	{
		spell = s;
		onMouseClicMethod = fctClic;
	}
	
	void OnMouseUpAsButton ()
	{
		onMouseClicMethod(this.spell);
	}
	
}
